package com.kx.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kx.bean.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AdminMapper{
    int deleteByPrimaryKey(Integer mid);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer mid);

    Admin selectByUsernameAndPassword(@Param("username") String username, @Param("password") String password);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);
}